D-FLAT2: Subset Minimization in Dynamic Programming on Tree Decompositions Made Easy
نویسندگان
چکیده
Many problems from the area of AI have been shown tractable for bounded treewidth. In order to put such results into practice, quite involved dynamic programming (DP) algorithms on tree decompositions have to be designed and implemented. These algorithms typically show recurring patterns that call for tasks like subset minimization. In this paper we present a novel approach to obtain such DP algorithms from simpler principles, where the DP formalization of subset minimization is performed automatically. We first give a theoretical account of our novel method, and then present D-FLATˆ2, a system that allows one to specify the core DP algorithm via answer set programming (ASP). We illustrate the approach at work by providing several DP algorithms that are more spaceefficient than existing solutions, while featuring improved readability, reuse and therefore maintainability of ASP code. Experiments show that our approach also yields a significant improvement in runtime performance. 1TU Wien. E-mail: {bliem,gcharwat,hecher,woltran}@dbai.tuwien.ac.at Acknowledgements: This work has been supported by the Austrian Science Fund (FWF): Y698, P25607, P25518. Copyright c © 2015 by the authors
منابع مشابه
Dynamic Programming on Tree Decompositions Using Generalised Fast Subset Convolution
In this paper, we show that algorithms on tree decompositions can be made faster with the use of generalisations of fast subset convolution. Amongst others, this gives algorithms that, for a graph, given with a tree decomposition of width k, solve the dominated set problem in O(nk3) time and the problem to count the number of perfect matchings in O∗(2k) time. Using a generalisation of fast subs...
متن کاملD-FLAT: Declarative problem solving using tree decompositions and answer-set programming
In this work, we propose Answer-Set Programming (ASP) as a tool for rapid prototyping of dynamic programming algorithms based on tree decompositions. In fact, many such algorithms have been designed, but only a few of them found their way into implementation. The main obstacle is the lack of easy-to-use systems which (i) take care of building a tree decomposition and (ii) provide an interface f...
متن کاملThe D-FLAT System for Dynamic Programming on Tree Decompositions
Complex reasoning problems over large amounts of data pose a great challenge for computer science. To overcome the obstacle of high computational complexity, exploiting structure by means of tree decompositions has proved to be effective in many cases. However, the implementation of suitable efficient algorithms is often tedious. D-FLAT is a software system that combines the logic programming l...
متن کاملEnergy cost minimization in an electric vehicle solar charging station via dynamic programming
Environmental crisis and shortage of fossil fuels make Electric Vehicles (EVs) alternatives for conventional vehicles. With growing numbers of EVs, the coordinated charging is necessary to prevent problems such as large peaks and power losses for grid and to minimize charging costs of EVs for EV owners. Therefore, this paper proposes an optimal charging schedule based on Dynamic Programming (DP...
متن کاملLoad Balancing of Telecommunication Networks based on Multiple Spanning Trees
In this paper we address the problem of load balancing optimization of telecommunication networks based on multiple spanning tree routing. We focus on two objectives – minimization of the maximum link load and minimization of the network utilization imposing a worst case load value – and we propose two sets of mixed integer programming models defining the optimization problems (where one set is...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- Fundam. Inform.
دوره 147 شماره
صفحات -
تاریخ انتشار 2016